﻿using System.Windows;

namespace ZYing.QPanel.Helpers
{

    public static class MessageHelper
    {
        public static bool Confirm(string msg)
        {
            return HandyControl.Controls.
                MessageBox.Show(msg, caption: "操作确认", MessageBoxButton.YesNo, MessageBoxImage.Question)
                == MessageBoxResult.Yes;
        }
    }
}